<template>
  <a-carousel arrows autoplay>
    <template #prevArrow>
      <div class="custom-slick-arrow" style="left: 10px; z-index: 1">
        <left-circle-outlined />
      </div>
    </template>
    <template #nextArrow>
      <div class="custom-slick-arrow" style="right: 10px">
        <right-circle-outlined />
      </div>
    </template>
    <div>
      <img src="../../../../assets/bananer/1.jpg" alt="" width="100%" height="500">
    </div>
    <div>
      <img src="../../../../assets/bananer/2.jpg" alt=""  width="100%" height="500">
    </div>
    <div>
      <img src="../../../../assets/bananer/3.jpg" alt=""  width="100%" height="500">
    </div>
    <div>
      <img src="../../../../assets/bananer/4.jpg" alt=""  width="100%" height="500">
    </div>
  </a-carousel>
</template>
<script setup>
import { LeftCircleOutlined, RightCircleOutlined } from '@ant-design/icons-vue';
</script>
<style scoped>
/* For demo */
:deep(.slick-slide) {
  text-align: center;
  height: 500px;
  background: #364d79;
  overflow: hidden;
}

:deep(.slick-arrow.custom-slick-arrow) {
  width: 25px;
  height: 25px;
  font-size: 25px;
  color: #fff;
  background-color: rgba(31, 45, 61, 0.11);
  transition: ease all 0.3s;
  opacity: 0.3;
  z-index: 1;
}

:deep(.slick-arrow.custom-slick-arrow:before) {
  display: none;
}

:deep(.slick-arrow.custom-slick-arrow:hover) {
  color: #fff;
  opacity: 0.5;
}

:deep(.slick-slide h3) {
  color: #fff;
}
</style>